export default {
  data() {
    return {
      num: 999
    }
  },
  created() {
    console.log('created')
  },
  methods: {
    test() {
      console.log('test')
    },
    showBtn(str) {
      return (
        this.$store.state.user.userInfo &&
        this.$store.state.user.userInfo.roles.points.includes(str)
      )
    }
  }
}
